// 列表数据类型
export interface ListData<T> {
  page: number
  size: number
  list: T[]
}
// 页面列表数据类型
export interface PageListData<T> {
  page: number
  size: number
  list: T[]
  loading: boolean
  loadAll: boolean
}

export interface ModalData {
  title: string
  content: string
  showCancel: boolean
  cancelText: string
  cancelColor: string
  confirmText: string
  confirmColor: string
  confirm: () => void
  cancel: () => void
}
